package org.kzwl.comm.pojo.dto.live;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.kzwl.comm.advice.Consts;

import java.time.LocalDateTime;

@Data
@ApiModel("直播回放")
public class GetLiveBackDTO {

    @ApiModelProperty("自增")
    private Integer cuPlaybackId;

    @ApiModelProperty("时长")
    private String cuPlaybackDuration;

    @ApiModelProperty("开始时间")
    private LocalDateTime cuPlaybackStartTime;

    @ApiModelProperty("结束时间")
    private LocalDateTime cuPlaybackStopTime;

    @ApiModelProperty("url")
    private String cuPlaybackUrl;

    public void setCuPlaybackUrl(String cuPlaybackUrl) {
        this.cuPlaybackUrl = Consts.AliYun.OSSBUCKER+cuPlaybackUrl;
    }

    @ApiModelProperty("直播间标题")
    private String cuPlaybackTitle;

    @ApiModelProperty("封面")
    private String cuLiveCover;

}
